import { Behaviour,TextRenderer } from "./gameengine";
import{user}from"./user";

export class attBehaviour extends Behaviour {
    
    protected onStart() {
        //this.hpp = core.createPrefab(text2);
        //const scene = getGameObjectById("Scene");
      
    }    
    
    protected onUpdate(advancedTime: number) {
          const text = this.displayObject.getScript(TextRenderer);
        text.text = user.att.toString();

    }


}